package org.jsola.contract.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author JanusMix
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【发起合同签署】的参数")
@Data
public class PublishSignSigngleDTO extends BaseDTO {

    private static final long serialVersionUID = 8441390706787666915L;

    @ApiModelProperty(notes = "分类id")
    private Long categoryId;

    @ApiModelProperty(notes = "模板id")
    private Long templateId;

    @ApiModelProperty(notes = "业务id(目前是公司id)", required = true)
    @NotNull(message = "请填写业务id")
    private String subjectId;

    @ApiModelProperty(notes = "用工单位名称")
    private String subjectName;

    @ApiModelProperty(notes = "模板变量填写列表")
    private MemberVariableDTO memberVariableDTO;

    @ApiModelProperty(notes = "本次是否开启人脸核身")
    private Boolean isCheckFace;

}
